import React from "react";
import { Carousel , Image } from "antd";
import img1 from "../../assets/images/carousel_1.jpg";
import img2 from "../../assets/images/carousel_2.jpg";
import img3 from "../../assets/images/carousel_3.jpg";
import styles from "./Carousel.module.css"
export const Carousels: React.FC = (props) => {
  return (
    <Carousel autoplay={true} className={styles["carousel"]}>
      <Image src={img1}></Image>
      <Image src={img2}></Image>
      <Image src={img3}></Image>
    </Carousel>
  );
};
